Skip to main content

SquareRootOperator

Type​

operator

Summary​

Square root operator.

Syntax​

sqrt(<Operand>)

Description​

The square root of a number is the number which must be squared to obtain number : sqrt(number)^2 is equal to number.

Parameters​

NameTypeDescription

Operand

An expression that evaluates to a number.

Examples​

variable tVar as Number
put sqrt(9) into tVar -- tVar contains 3
variable tVar as Number
put the square root of 4 into tVar -- tVar contains 2
Thank you for your feedback!

Was this page helpful?